package com.project.psc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.psc.bean.OrderBean;
import com.project.psc.bean.ReturnBean;
import com.project.psc.bean.SupplyBean;
import com.project.psc.vo.SupplyVo;

import java.time.LocalDate;
import java.util.List;

public interface IOrderService {
    IPage<OrderBean> cutByItem(Long supplierId, String pact, LocalDate startTime,LocalDate endTime,Integer pageNO);
    OrderBean findById(Long id);
    List<SupplyVo> findSupplyList(String orderId);
    boolean add(Long supplierId,String supplierName,String pact);
}
